﻿namespace NlpApp.Model
{
    /// <summary>
    /// http请求接口返回实体类
    /// </summary>
    public class HttpReturnEntity
    {
        /// <summary>
        /// 0失败1成功
        /// </summary>
        /// <value>The code.</value>
        public string Code { get; set; }
        /// <summary>
        /// 成功为null，失败为失败信息
        /// </summary>
        /// <value>The message.</value>
        public string Message { get; set; }
        /// <summary>
        /// 返回的接口数据对象
        /// </summary>
        /// <value>The body.</value>
        public object Body { get; set; }
    }
    /// <summary>
    /// http请求接口返回实体类
    /// </summary>
    public class HttpReturnEntity2
    {
        /// <summary>
        /// 0失败1成功
        /// </summary>
        /// <value>The code.</value>
        public HttpReturnEntity Result { get; set; }
        /// <summary>
        /// 返回的接口数据对象
        /// </summary>
        /// <value>The body.</value>
        public object Body { get; set; }
    }
}
